package com.ashley.apptools.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public class ToolsData {
	public static final String AUTHORITY = "com.ashley.tools";
	private static final String SCHEME = "content://";
	public static final String DEFAULT_SORT_ORDER = BaseColumns._ID+" DESC";
	public static final class Category implements BaseColumns
	{
		private static final String PATH_CATEGORY = "/category";
		private static final String PATH_CATEGORY_ID = "/categorys/";
		public static final String TABLE_NAME = "category";
		
		public static final Uri CONTENT_URI = Uri.parse(SCHEME+AUTHORITY+PATH_CATEGORY);
		public static final Uri CONTENT_ID_URI_BASE = Uri.parse(SCHEME+AUTHORITY+PATH_CATEGORY_ID);
		public static final Uri CONTENT_ID_URI_PATTERN = Uri.parse(SCHEME+AUTHORITY+PATH_CATEGORY_ID+"/#");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.ashley.category";
	    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.ashley.category";
	    
	    public static final String COLUMN_NAME_TITLE = "title";
	    public static final String COLUME_LANDING = "landing";
	    public static final String COLUME_WAREHOVSE = "warehovse";
	    public static final String COLUME_SALE = "sale";
	    
	}
	public static final class ItemNumber implements BaseColumns
	{
		private static final String PATH_ITEM = "/itemnumber";
		private static final String PATH_ITEM_ID = "/itemnumber/";
		public static final String TABLE_NAME = "itemnumber";
		
		public static final Uri CONTENT_URI = Uri.parse(SCHEME+AUTHORITY+PATH_ITEM);
		public static final Uri CONTENT_ID_URI_BASE = Uri.parse(SCHEME+AUTHORITY+PATH_ITEM_ID);
		public static final Uri CONTENT_ID_URI_PATTERN = Uri.parse(SCHEME+AUTHORITY+PATH_ITEM_ID+"/#");
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.ashley.itemnumber";
	    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.ashley.itemnumber";
	    
	    public static final String COLUME_CATEGORY = "category";
	    public static final String COLUME_CUBE = "cube";
	    public static final String COLUME_ITEM_NO = "item";
	    public static final String COLUME_PRICE = "price";
	    public static final String COLUME_FREIGHT = "freight";
	    public static final String COLUME_TAX = "tax";
	    public static final String COLUME_LANDING = "landing";
	    public static final String COLUME_WAREHOVSE = "warehovse";
	    public static final String COLUME_SALE = "sale";
	    public static final String CLUME_RETAIL = "retail";
	    
	    public static final String DEFAULT_SORT_ORDER = "creationtime DESC";
	    
	}
}
